package com.photonpay.api.response;

import lombok.Data;

/**
 * 生成token
 * @author ：lo-
 * @date ：Created in 2023/11/22 14:40
 */
@Data
public class AccessTokenResponse  extends BaseResponse {

    private DataInfo data;

    @Data
    public static class DataInfo {

        /**
         * token
         */
        private String token;

        /**
         * token过期时间
         */
        private Long expiresIn;

        /**
         * refreshToken
         */
        private String refreshToken;

        /**
         * refreshToken过期时间
         */
        private String refreshExpiresIn;
    }
}
